package majordex;

import android.app.Application;
import android.content.Context;
import android.content.SharedPreferences;
import android.util.Log;

import majordex.multidex.MultiDex;

/**
 * Created by tys on 2018/2/21.
 */

public class App extends Application{


    @Override
    protected void attachBaseContext(Context base) {
        super.attachBaseContext(base);

        SharedPreferences sp = base.getSharedPreferences("setting", Context.MODE_PRIVATE);
        boolean forceReload = sp.getBoolean("forceReload", false);
        MultiDex.install(this, forceReload);
    }



}
